package com.ruoyi.generator.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 反向生成字段映射对象 reverse_gen_table_column_map
 * 
 * @author Jason
 * @date 2022-02-09
 */
public class ReverseGenTableColumnMap extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long mapId;

    /** 数据字段类型 */
    @Excel(name = "数据字段类型")
    private String mapType;

    /** 表字段类型 */
    @Excel(name = "表字段类型")
    private String mapTableColumnType;

    public void setMapId(Long mapId) 
    {
        this.mapId = mapId;
    }

    public Long getMapId() 
    {
        return mapId;
    }
    public void setMapType(String mapType) 
    {
        this.mapType = mapType;
    }

    public String getMapType() 
    {
        return mapType;
    }
    public void setMapTableColumnType(String mapTableColumnType) 
    {
        this.mapTableColumnType = mapTableColumnType;
    }

    public String getMapTableColumnType() 
    {
        return mapTableColumnType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mapId", getMapId())
            .append("mapType", getMapType())
            .append("mapTableColumnType", getMapTableColumnType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
